Skip to content

feat(feed): add RSS and JSON Feed Cloudflare Worker#78

Open
shsteimer wants to merge 2 commits intomainfrom
feat/feed-worker
Open

feat(feed): add RSS and JSON Feed Cloudflare Worker#78
shsteimer wants to merge 2 commits intomainfrom
feat/feed-worker

Conversation

@shsteimer
Copy link
Contributor

Summary

  • Adds a Cloudflare Worker (workers/feed/) serving article feeds from the AEM query-index
  • /rss.xml — RSS 2.0 feed (matches existing live feed structure)
  • /feed.json — JSON Feed 1.1 with tags, images, and author metadata
  • Articles filtered to /learn/ sub-pages (3+ path segments), sorted by date
  • SITE_URL and CONTENT_ORIGIN configurable via wrangler env vars
  • npm scripts: dev:feed, deploy:feed, tail:feed
  • Adds .wrangler to .gitignore

Closes #13

Test plan

  • Run npm run dev:feed and verify /rss.xml returns valid RSS 2.0
  • Verify /feed.json returns valid JSON Feed 1.1
  • Confirm article filtering excludes category pages (e.g. /learn/fire)
  • Validate feed in an RSS reader
  • Deploy with npm run deploy:feed and verify on production domain

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

shsteimer and others added 2 commits March 5, 2026 14:06
Cloudflare Worker that serves article feeds from the query-index:
- /rss.xml — RSS 2.0 feed with CDATA titles, enclosures, Atom self-link
- /feed.json — JSON Feed 1.1 with tags, images, and author metadata

Articles are filtered to /learn/ sub-pages, sorted by date/lastModified.

Closes #13

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aem-code-sync
Copy link

aem-code-sync bot commented Mar 5, 2026

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

@shsteimer shsteimer requested a review from kunwarsaluja March 5, 2026 22:08
@kunwarsaluja
Copy link
Contributor

@shsteimer is this already deployed to cloudadoption cloudflare account?

@kunwarsaluja
Copy link
Contributor

@amol-anand can we also generate a demo domain in cloudflare? fire.bbird.live or demo.bbird.live or something similar?

we can start attaching feeds, rss, analytics etc.

@shsteimer
Copy link
Contributor Author

@shsteimer is this already deployed to cloudadoption cloudflare account?

no. I tested it locally, but did not deploy it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Phase 2] - RSS Feed

2 participants